#ifndef PERSONNAGE_H_INCLUDED
#define PERSONNAGE_H_INCLUDED
#include <SDL/SDL.h>
struct blitDestination
{
  int x;
  int y;
  int w;
  int h;
//SDL_Rect pos;

 // float vx, vy;
//0 au repos, 1 dans l'air
//  int PHYS_STATE;
};
typedef struct blitDestination blitDestination;


struct prime
{

SDL_Rect pos;

  float vx, vy;
//0 au repos, 1 dans l'air
  int PHYS_STATE;
};
typedef struct prime prime;

int Collision(int curseur_x,int curseur_y,struct prime box);
void sauter(struct prime *mario);



#endif // PERSONNAGE_H_INCLUDED
